home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Rinaldi / HC 2.0 Only / Calendoid 1.3.cpt / Calendoid 1.3 (US) / cards.xml < prev    next >
Text File  |  1992-06-25  |  7KB  |  86 lines

  1. card_3055.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3055</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3273.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2661</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_2387.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <true /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>69</left>
  25.             <top>68</top>
  26.             <right>434</right>
  27.             <bottom>252</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name>Text</name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>5</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>174</left>
  57.             <top>281</top>
  58.             <right>343</right>
  59.             <bottom>311</bottom>
  60.         </rect>
  61.         <style>roundrect</style>
  62.         <showName> <true /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <true /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name>Calendoid</name>
  74.         <script>on mouseUpCalendoidend mouseUp</script>
  75.     </part>
  76.     <content>
  77.         <layer>card</layer>
  78.         <id>1</id>
  79.         <text><span class="style1">                                            </span><span class="style2">Calendoid 1.3</span><span class="style1">                                          </span><span class="style3">by Fr√©d√©ric RINALDI</span><span class="style1"></span><span class="style4">DESCRIPTION</span><span class="style1">  Calendoid XCMD displays a monthly calendar window.</span><span class="style4">SYNTAX</span><span class="style1">                                           Calendoid [<date>]</span><span class="style4">PARAMETERS</span><span class="style1">   <date> is optional, and is a date string corresponding to the month to be displayed in the window. Any usual date format can be used.   Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).</span><span class="style4">USING</span><span class="style1">   Clicking on left and right arrows allows to display previous or next month. Holding Optionkey down allows to jump from year to year.   Clicking on a day of month displays the week and day numbers at the bottom of the window.   Clicking on the month's name brings back to current month.   Macintosh's internal clock can only handle dates between 1/1/1904 and 2/6/2040.</span><span class="style4">MESSAGES</span><span class="style1">      </span><span class="style2">OpenCalendoid</span><span class="style1"> : sent when a windoid is opened, followed by the windoid name and ID. This allows to define window properties before it is shown, since the message can be trapped using a handler :</span><span class="style5">     on openCalendoid WName,WId       if WName is "MyWindow" then...     end openCalendoid</span><span class="style1">   </span><span class="style2">CloseCalendoid</span><span class="style1"> : sent when a windoid is closed, followed by the windoid name and ID. This allows to define window properties before it is shown, since the message can be trapped using a handler :</span><span class="style5">     on closeCalendoid WName,WId       if WName is "MyWindow" then...     end closeCalendoid</span><span class="style2"></span><span class="style1">   </span><span class="style2">ClickInCalendoid</span><span class="style1"> : </span><span class="style5">s</span><span class="style1">ent when double-clicking on a day in the window, followed by the windoid name and ID, the clicked date in short format, the week and day numbers.</span><span class="style5">     on clickInCalendoid WName,WId,When,WeekNb,DayNb       put When     end clickInCalendoid</span><span class="style1"></span><span class="style4">PROPERTIES</span><span class="style1">   Like any XWindow, Calendoid has properties that can be get and set thru HyperTalk.                           </span><span class="style5">properties of window "Calendoid"</span><span class="style1">   will return an item list of all allowed properties :     ‚Ä¢ loc             : windoid's position according to card (X,Y)     ‚Ä¢ visible       : windoid's visibility (</span><span class="style6">true</span><span class="style1"> or false)     ‚Ä¢ id              : windoid's id (</span><span class="style2">get</span><span class="style1"> only)     ‚Ä¢ messages  : list of messages sent by the windoid (</span><span class="style2">get</span><span class="style1"> only)     ‚Ä¢ rect          : windoid's rect according to card (X,Y,Z,T) (</span><span class="style2">get</span><span class="style1"> only)     ‚Ä¢ date          : currently displayed date (M[M]/1/YY)</span><span class="style4">ERRORS</span><span class="style1">If an error occurs, Calendoid can return :     "Error : Unable to create XWindow"     "Error : XWindows not implemented"     "Error : Out of memory"     "Error : Incorrect date"</span><span class="style4">HISTORY</span><span class="style1">1.3                                                                                            06/25/92‚Ä¢ Fixed click bug on a non-valid day1.2                                                                                            06/16/92‚Ä¢ Added week and day numbers to display and result.1.1                                                                                            06/09/92‚Ä¢ Limitation to valid dates‚Ä¢ Now use mouseUp for clickInCalendoid1.0                                                                                            06/04/92‚Ä¢ First release--------------------------------------------------------------------This (these) external(s) is (are) FreeWare,allowing unlimited use in any non-commercial stack. You just need in this case to give full credits and display this entire copyright message in your stack.Any commercial use must be licensed and aknowledged by the author.                                           ¬© F. Rinaldi - 1992</span><span class="style2"></span><span class="style1"></span><span class="style2">AppleLink</span><span class="style1">: RINALDI1   </span><span class="style2">CalvaCom</span><span class="style1"> : FR10    </span><span class="style2">Compuserve</span><span class="style1"> : 71170,2111</span></text>
  80.     </content>
  81.     <name></name>
  82.     <script>on clickInCalendoid WName,WId,Whenanswer "You clicked on" && Whenend clickInCalendoid</script>
  83. </card>
  84.  
  85.  
  86.